<?php if($this->auth->is_logged_in()): ?>

<ul id="nav-user">
	<li>Hoşgeldin, <?php echo $this->auth->fullname() ?></li>
    <li><a  href="<?php echo site_url('user/logout'); ?>">Oturumu Kapat</a></li>
</ul>

<?php else: ?>

<ul id="nav-user">
    <li><a  href="<?php echo site_url('user/login'); ?>">Giriş Yap</a></li>
    <li><a  href="<?php echo site_url('user/register'); ?>">Kayıt Ol</a></li>
</ul>

<?php endif; ?>
